package com.mysoft.gfyx.clue.backgroundjob;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * 定时调度(注解方式)
 */
@Component
public class XxjhAuditJobHandler {
    @XxlJob(value="XxjhAuditJobHandle", init="init", destroy="destroy")
    public void execute() {
        System.out.println("定时调度 execute");
    }

    public void init() {
        System.out.println("定时调度 init");
    }

    public void destroy() {
        System.out.println("定时调度 destroy");
    }
}